package com.lagou.edu.mvcframework.interceptor;

import com.lagou.edu.mvcframework.pojo.Handler;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public interface HandleInterceptor {

     boolean preHandle(HttpServletRequest request , HttpServletResponse response , Handler handler) throws Exception;

     void postHandle(HttpServletRequest request , HttpServletResponse httpResponse , Handler handler);

     void afterCompletion(HttpServletRequest request , HttpServletResponse httpResponse , Handler handler);

}
